package com.zhuangjie.order.dto;

import com.zhuangjie.order.pojo.RiderLocation;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 骑手位置更新dto
 *
 * @author zhuangjie
 * @date 2024/04/13
 */
@Getter
@Setter
public class RiderLocationUpdateDTO  {
    @NotEmpty(message = "需要通知的骑手id不能为空")
    private List<Long> userIds;

    private RiderLocation riderLocation;
}
